package com.smartpro.mis.modular.business.neo4jEntity;

import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.RelationshipEntity;
import org.neo4j.ogm.annotation.StartNode;

@RelationshipEntity(type = RelationshipEnum.CLICK_GROUPBUY_LINK)
public class ClickGroupBuyRelationship {
    @GraphId
    private Long id;

    public ClickGroupBuyRelationship(String createTime, N4jUser n4jSharer, N4jUser n4jUser) {
        this.createTime = createTime;
        this.n4jSharer = n4jSharer;
        this.n4jUser = n4jUser;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }


    public void setN4jSharer(N4jUser n4jSharer) {
        this.n4jSharer = n4jSharer;
    }



    private String createTime;

    public N4jUser getN4jSharer() {
        return n4jSharer;
    }

    @StartNode
    private N4jUser n4jSharer;

    @EndNode
    private N4jUser n4jUser;

    public N4jUser getN4jUser() {
        return n4jUser;
    }

    public void setN4jUser(N4jUser n4jUser) {
        this.n4jUser = n4jUser;
    }




}
